package com.xbongbong.paas.enums;

import lombok.Getter;

/**
 * @author 梁鲁江
 * @version v1.0
 * @date 2019/6/4 21:35
 * @since v1.0
 */
@Getter
public enum AliasEnum {
    TEXT("text","",200),
    TEXTAREA("textarea","",2000),
    RICH_TEXT_EDITOR("rich_text_editor","",5000),
    NUM("num","",100),
    ADDRESS("address","",200),
    HREF("href","",100),
    DATE("date","",15),
    ;
    AliasEnum(String alias, String description, Integer max) {
        this.alias = alias;
        this.description = description;
        this.max = max;
    }

    /**
     * 字段
     */
    private String alias;
    /**
     * 字段描述
     */
    private String description;
    /**
     * 长度限制最大值
     */
    private Integer max;
}
